import 'package:flutter/material.dart';

class OptionsModel {
  late String label;
  late int value;
  String? labelIcon;

  OptionsModel({
    required this.label,
    required this.value,
    this.labelIcon,
  });

  OptionsModel.fromJson(Map<String, dynamic> json) {
    label = json['label'];
    value = json['value'];
    labelIcon = json['labelIcon'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['label'] = label;
    data['value'] = value;
    data['labelIcon'] = labelIcon;
    return data;
  }
}
